class AccountMoneyEntity {
	int code;
	AccountMoneyData data;
	String message;

	AccountMoneyEntity({this.code, this.data, this.message});

	AccountMoneyEntity.fromJson(Map<String, dynamic> json) {
		code = json['code'];
		data = json['data'] != null ? new AccountMoneyData.fromJson(json['data']) : null;
		message = json['message'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['code'] = this.code;
		if (this.data != null) {
      data['data'] = this.data.toJson();
    }
		data['message'] = this.message;
		return data;
	}
}

class AccountMoneyData {
	String bankNumber;
	String bankUsename;
	String bankName;
	String accountFrozen;
	String cashFrozen;
	double sumAccount;
	String id;
	String cash;
	String account;
	double sumCash;

	AccountMoneyData({this.bankNumber, this.bankUsename, this.bankName, this.accountFrozen, this.cashFrozen, this.sumAccount, this.id, this.cash, this.account, this.sumCash});

	AccountMoneyData.fromJson(Map<String, dynamic> json) {
		bankNumber = json['bank_number'];
		bankUsename = json['bank_useName'];
		bankName = json['bank_name'];
		accountFrozen = json['account_frozen'];
		cashFrozen = json['cash_frozen'];
		sumAccount = double.parse(json['sum_account'].toString());
		id = json['id'];
		cash = json['cash'];
		account = json['account'];
		sumCash = double.parse(json['sum_cash'].toString());
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['bank_number'] = this.bankNumber;
		data['bank_useName'] = this.bankUsename;
		data['bank_name'] = this.bankName;
		data['account_frozen'] = this.accountFrozen;
		data['cash_frozen'] = this.cashFrozen;
		data['sum_account'] = this.sumAccount;
		data['id'] = this.id;
		data['cash'] = this.cash;
		data['account'] = this.account;
		data['sum_cash'] = this.sumCash;
		return data;
	}
}
